﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Automobile.service.Model;
using Automobile.service.DAL;
using System.Data;


namespace Automobile.service.BLL
{
   public class BlitemBll
    {
       BlitemDal dal = new BlitemDal();
        /// <summary>
        /// 显示库存盘点单信息
        /// </summary>
        /// <returns></returns>
        public List<BlitemModel> Blitem()
        {
            return dal.Blitem();
        }
        /// <summary>
        /// 添加库存盘点单信息
        /// </summary>
        /// <returns></returns>
        public int AddBlitem(BlitemModel s)
        {
            return dal.AddBlitem(s);
        }
        /// <summary>
        /// 删除库存盘点单信息
        /// </summary>
        /// <returns></returns>
        public int DeleBlitem(int Blitem_Id)
        {
            return dal.DeleBlitem(Blitem_Id);
        }

        /// <summary>
        /// 取单个库存盘点单信息
        /// </summary>
        /// <returns></returns>
        public DataTable GetBlitem(string Blitem_Id)
        {
            return dal.GetBlitem(Blitem_Id);
        }

        /// <summary>
        /// 更新库存盘点单信息
        /// </summary>
        /// <param name="stu"></param>
        /// <returns></returns>
        public int UpdateBlitem(BlitemModel s)
        {
            return dal.UpdateBlitem(s);
        }
        /// <summary>
        /// 显示库存盘点类型信息
        /// </summary>
        /// <returns></returns>
        public List<Blitem_TypeModel> Blitem_type()
        {
            return dal.Blitem_type();
        }
        /// <summary>
        /// 搜索显示库存盘点信息
        /// </summary>
        /// <returns></returns>
        public List<BlitemModel> BlitemSelect(string Blitem_Etc)
        {
            return dal.BlitemSelect(Blitem_Etc);
        }
    }
}
